set -e

for dataset_name in \
    FLARE_2021 \
    FLARE_2022 \
    KiTS23 \
    CT_ORG \
    CT_Colonography \
    TCGA-OV \
    CPTAC_SAR \
    StageII_Colorectal_CT \
    Pediatric_CT_SEG \
    TCGA-BLCA \
    TCGA-KIRC \
    TCGA-UCEC \
    TCGA-STAD \
    ImageTBAD \
    LUNA16
do
    python /file1/mgam_repos/mgam_datatoolkit/mgamdata/dataset/GeneralUnsupDataset/precrop_npz.py \
        /file1/mgam_datasets/$dataset_name/spacing2_mha/ \
        /file1/mgam_datasets/$dataset_name/spacing2_crop64_npz/ \
        --crop-size 64 64 64 --mp
done